package cn.entity;

import java.util.ArrayList;
import java.util.List;
/**
 * 分页bean
 * @author xvmingyuan
 *
 * @param <T>
 */
public class Page<T> {
	private int currPageNo;//当前页号  ok
	private int perPageSize;//每页显示记录数，默认为3条 ok
	private int allRecordNo;//总记录数 ok
	private int allPageNo;//总页数 ok 
	private List<T> tList = new ArrayList<T>();
	public Page() {
	}
	public int getCurrPageNo() {
		return currPageNo;
	}
	public void setCurrPageNo(int currPageNo) {
		this.currPageNo = currPageNo;
	}
	public int getPerPageSize() {
		return perPageSize;
	}
	public void setPerPageSize(int perPageSize) {
		this.perPageSize = perPageSize;
	}
	public int getAllRecordNo() {
		return allRecordNo;
	}
	public void setAllRecordNo(int allRecordNo) {
		this.allRecordNo = allRecordNo;
	}
	public int getAllPageNo() {
		return allPageNo;
	}
	public void setAllPageNo(int allPageNo) {
		this.allPageNo = allPageNo;
	}
	public List<T> gettList() {
		return tList;
	}
	public void settList(List<T> tList) {
		this.tList = tList;
	}
	
	
	
	

}
